<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">


<div  class="Pagination"  th:fragment="pagediv" style="margin-bottom: 20px;">
    <div  th:if="${data.totalOutPutNumber ne null and data.totalOutPutNumber>0}">
        <input type="hidden" name="page" id="page" th:value="data.page" class="am-form-field" >
        <a th:if="${data.isGotoFirst()==true}" class="pageNumber" th:attr="pageNumber=''+${data.getStartPage()-1}+''" href="javascript:">«</a>
        <a th:each="outData:${data.dataArray}" class="pageNumber" th:classappend="${outData.active=='1'} ? 'current'"   th:attr="pageNumber=''+${outData.pageNumber}+''" href="javascript:" th:text="${outData.pageNumber}">1</a>
        <a th:if="${data.isGotoLast()==true}"  class="pageNumber" th:attr="pageNumber=''+${data.getEndPage()+1}+''" href="javascript:" >»</a>
    </div>
</div>
<!--

<div class="Pagination"  th:fragment="pagediv"  style="margin-bottom: 20px;">
    <div th:if="${data.totalOutPutNumber ne null and data.totalOutPutNumber>0}">
        <input type="hidden" name="page" id="page" th:value="data.page" class="am-form-field" >
        <ul class="am-pagination tpl-pagination">
            <li  th:if="${data.isGotoFirst()==true}" ><a class="pageNumber" th:attr="pageNumber=''+${data.getStartPage()-1}+''" href="javascript:">«</a></li>
            <li  th:each="outData:${data.dataArray}" th:class="${outData.active=='1'} ? 'am-disabled am-active'" ><a class="pageNumber" th:attr="pageNumber=''+${outData.pageNumber}+''" href="javascript:" th:text="${outData.pageNumber}">1</a></li>
            <li th:if="${data.isGotoLast()==true}" ><a class="pageNumber" th:attr="pageNumber=''+${data.getEndPage()+1}+''" href="javascript:" >»</a></li>
        </ul>
    </div>
</div>
-->



